// pages/map/map.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    latitude:40.06021,
    longitude:116.3433,
    markers:[{
      iconPath:'/images/music_play.png',
      id:0,
      latitude:40.06021,
      longitude:116.3433,
      width:50,
      height:50
    }]
  },
  markertap:function(){
    wx.openLocation({
      latitude: this.data.latitude,
      longitude: this.data.longitude,
      name:"xx酒店",
      address:'成都市 锦江区 xx路'
    })
  }

})